using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMSalesReportBusiness
    {
        public static clsTMSalesReportController cls = new clsTMSalesReportController();

        #region[Get-Data]
        public DataTable BindGirdTMSalesReport()
        {
            return cls.BindGirdTMSalesReport();
        }
        public DataTable BindGirdTMSalesReport_Detail_Edit(int id)
        {
            return cls.BindGirdTMSalesReport_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Delete-Update]
        public static bool UpdateTMSalesReport(clsTMSalesReportProperty obj)
        {
            return cls.UpdateTMSalesReport(obj);
        }
        public static bool DeleteTMSalesReport(int id)
        {
            return cls.DeleteTMSalesReport(id);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        public DataTable TMSalesReport_Fillter_Date(string DateBegin, string EndBegin)
        {
            return cls.TMSalesReport_Fillter_Date(DateBegin, EndBegin);
        }
        #endregion

        #region[Total]
        public DataTable Total()
        {
            return cls.Total();
        }
        public DataTable TotalAll(string DateBegin, string EndBegin)
        {
            return cls.TotalAll(DateBegin, EndBegin);
        }
        #endregion
    }
}